/**
 * @(#) CongMoneyVO.as
 *
 * @date		2011. 03. 19.
 * @version		1.0
 * @author		bgh
 * @description	메인 리스트  Value Object
 *
 */
package com.skt.common_hr.mompo.model.vo
{
	import com.skt.common_hr.common.Variables;

	[Bindable]
	public class mainListVO
	{
		public var PERNR 		:String;		//사원번호 
		public var ENAME 		:String;		//성명 
		public var REASN 		:String;		//성명 
		
		public var BEGDA_JSON 	:String;		//임신사실확인일
		public var BEGDA_TX 		:String;		//임신사실확인일
		public var BEGDA 			:Date;		//임신사실확인일
		
		 
		public var ENDDA_JSON 	:String;		//분만예정일
		public var ENDDA_TX 		:String;		//분만예정일
		public var ENDDA 			:Date;		//분만예정일
		
		 
		public var SDATE_JSON 	:String;		//신청일
		public var SDATE_TX		:String;		//신청일
		public var SDATE 			:Date;		//신청일
		
		 
		public var PERIOD 		:String;		//임신주기 
		public var WSTATX 		:String;		//처리상태 
		public var WSTATUS 	:String;		//처리상태코드 
		public var GWAREKEY 	:String;		//결재키 
 
				
		
		public function get PERNR_CHECK():String {
			return parseInt(PERNR).toString();
		}	
		
		public function get WSTATUS_CHECK():Boolean {
				if(WSTATUS=="1" || WSTATUS=="4") {
					return true;	
				} else {
					return false;
				}
		}		
	}
}